Moved extension templates into file