Removed warnings. Refs #8291.