Add support for the collide event.