Changed the moment of context injection.