Model validation. Issue #4