Added docs and fixed a bug

No match.