Add a convenience method for subclasses.