The right way to do reference templates?