Add errors classification to docs and libraries-cache task modules
Implment database clear if model was changed