Moved to supressing deprecation warnings for one line instead of using NSInvocation