Migrated dataset functions to dataset interface