Model.getprefix first-call cache implemented