Cleaning up and providing more documentation.