Added API calls needed so far.