Adding old functions for backwards compatibility