Updating documentation for new API