Clean up code.

Changes:
- remove obsolete properties;
- unify docs;
- remove white space escape chars;
- remove 'from module import *' imports.