1. A method comprising: (a) supplying a first instruction to a linker to declare a first pool of resource instances of a resource; (b) supplying a second instruction to the linker to declare a second pool of resource instances from the first pool; and (c) supplying a third instruction to the linker to allocate one or more resource instances from the second pool to be associated with a symbol, wherein the first, second and third instructions are parts of an amount of object code supplied to the linker.