Removed unneeded 'self.' from cache check.