Remove context usage from directive processor