Added function declarations to ApiFactory to reflect the API