Cleanup and docs.