Added a contest template context handler