Added sphinx docs, added some additional arguments.