Removed unnecessary function from host_helper.