Add collision code (using stubs)