Improving the template for new extensions