ValsController added, it determines whether document can be scarted, archived or undefined.