Added utility functions for doors