function_observer was missing element_type