Changed invocation handler to use factory serializer