Added new functionality for the new API calls.