Fixed a backwards compatibility issue related to the custom manager context.