Refactored the API Reference document.