Remove globalCache from global scope and put it under UniqueModel