Now the scanForModel method doesn't scan in libraries. Try to fin in library can cause a crash