Support for collision handlers. See #2