Changes methods to be sync calls to APIs