namespaced the api methods.