Clean up docs, obsolete code, etc.