Added collision-detection definition and stubs