Added controller factory context
Changed invocation handler to use factory serializer