Makes map service check style compliant

Can you pull mapServiceContext into a field of the surrounding class? This way you get rid of the trainwreck.