Added mapped delegate context factory context to allow emulation of using statements around endpoint method execution