Added Event Manager to every template