Add SupressWarning annotations to MainNode