Add internal function - ms_find_element_in_bin_by_type()