Fixed documentation errors.

So nosetests doesn't give error on my computer.