Improved API documentation. #17