Adding missing warnings checks, we should refactor this class so it's less hacky, refs #6726