gen_proxy method for the Hive