Suppress deprecation warning (it's already checked with respondsToSelector)