@Override
  public void renderHead(final Component component, final IHeaderResponse headerResponse) {
    super.renderHead(component, headerResponse);

    headerResponse.render(
        OnDomReadyHeaderItem.forScript(createInitializerScript(component, config)));
  }
  @Override
  public void bind(final Component component) {
    super.bind(component);

    component.setOutputMarkupId(true);
    component.add(AttributeModifier.replace("rel", createRelAttribute()));
    component.add(AttributeModifier.replace("title", label));
  }
  @Override
  public void detach(Component component) {
    super.detach(component);

    label.detach();
  }