Convenience method, for inheritance