deregisterFunc(key) {
    this.invalidateFunc(key);
    delete funcMap[key];
  }
Remove function registration and invalidate it's cached value.

@param {string} [key]  - A key associated with a function to be executed.