Adds docs and cleanup.