Add geometry event handling.