Rename InvalidUnitException to InvalidUnit