0.5.4: Use detect() to shave some bytes from media support test.