modify the Class HiveProvider