Fixed #15053 -- Improved template extending algorithm.

*Override init so we can*