Forgot function declaration in REST service