Extracting call generation function.  Adding functionality for call_element_unit generation.