Adding contextSelector extension