Changed documentation to use pydoc style