Doors are now considered objects like others. This gives tests for any kind of objects.