Made internal MainContext pointers visible
This is needed to reference a MainContext from external bindings, which need to create a MainContext using a Handle