Added implementation for DoorScript's CanOpen and CanClose