Make context accessible to mapping