Simplifications on context processors module