Simplified restrict qualifier checks.