set api methods as static