A way to centralize API functions