Change get methods to template methods.