Remove goog.memoize.

To prevent TypeError: Cannot read property 'ENABLE_MEMOIZE' of
undefined error.