Redefined gas_type API