Adds collision callback and logging