add extensions to child templates