Cleanup.
Add docblocks.