Python 3 compatible.
Added new pdoc docs.