Refactoring: api-functions are now called resource operations