protected function getToken() {
    // Iterate over the supported tokens to find the token in the tokenized
    // path.
    foreach (array_keys($this->supportedTokens) as $token_name) {
      if (strpos($this->path, $token_name) !== FALSE) {
        return $token_name;
      }
    }
    return NULL;
  }