Added new way to retrieve api objects