Documentation and cleanups.