Added detection of type bridge