Add documentation and cull junk.