Define methods for backwards compatibility