code: @SuppressWarnings("unchecked")
      public <T> T getCustom(String key) {
          return (T) custom.get(key);
      }
docs: Get the custom value in context.
  
  @param key The key to get value.
  @param <T> The type of value.
  @return The value.