Added suppoer for 'invoke'