Warn about deprecations only once per deprecation (to avoid spamming the console)