Added a specific warning level to BaseInvariant, and got rid of a ton of unnecessary operators