1. A non-transitory computer-readable medium storing computer-executable instructions that when executed by a computer cause the computer to perform a method, the method comprising: receiving a set of template data; identifying compilable portions and non-compilable portions of the set of template data; compiling, using at least a processor, the compilable portions into an executable template; generating a serialized template representing the non-compilable portions, wherein the serialized template is non-executable; generating a template that is formed by both the executable template and the serialized template; and upon receiving a request to instantiate an entity using the template, executing the executable template to generate first results; initiating actions identified by the serialized template to generate second results; and generating the entity by combining the first results and the second results.