Fix reference to object
Fix `fromInputValue` for Date type
Simplify status class handling