Replaced some usage of InvocableUtils.