Added quick device and interface orientation check helpers.