Implement new REST api calls.