Added new API endpoints.