Push template definitions out of class body.