Added legacy detection to verify_capabilities