Began working on template generator.