Store model queries in cache and refer back to them later.