Add in context variable for Symphony 2.4 support