Examples of an apparatus and method for provisioning a service are described. Descriptors are described that represent the service. These are accessed and used to determine a reference required to implement the service. The reference indicates a type of entity and an entity to be passed to a function. The descriptor for the service is instantiated to obtain an instance of the service. This includes obtaining an instance of the type of entity indicated by the reference.