Wrapping some more template helpers in classes.