1. A method for providing real world contexts to computer applications for outputting data describing one or more real world contexts, the method comprising: identifying components in a computer application which implement instances of real world contexts; and updating application components so that a real world context instance is active during the execution by the application of a function for the real world context instance; wherein each real world context instance has an instance identifier and is referenced by type of real world context.