Fixing ModelManager reference.