Code cleanup

* Modestly improved documentation
* Removed unused imports
* Removed unnecessary `# coding=utf-8` lines

Signed-off-by: David Noble <dnoble@splunk.com>