Added verification that elevators.is_a?(Hash)