Modified registeEvents method in GridManager and DriverManager classes