Sub-generator to make extensions