expand_invoke: shortened to_reference definition