Clean up some documentation and code.