docs and cleanup.