1. A method, comprising: providing a declaration file having variable declarations for variables in a programming environment for use by application functions, wherein the declaration file includes a plurality of sets of annotations for a plurality of service functions, wherein each of the sets of annotations identifies variables from the variables declared in the declaration file to use with one of the service functions, and wherein the declaration file is written to define variables for use by functions in the programming environment; processing the declaration file to generate one of the service functions; determining a set of annotations in the declaration file for the service function being generated; processing the determined set of annotations to determine variables from the variables to include with the service function being generated; and using the determined variables from the declaration file to generate the service function.