Turn templates into static members.