Adding SuppressWarnings to Yield