Overhaul/refactor API documentation.