Add doc; general cleanup.

@seancribbs