Added synchronous methods to the api class.