Don't warn about deprecated-register