Modified tutorial 3 to use RequestContext in place of Context.