unit mixin warns you when using invalid values