Added missing history.
Fixed import errors.

* Fixed import error during installation.
* Fixed import error during docs build for readthedocs.org.
Version 1.2.0.2.