Resolving errors in model library.