class MasterConfigSource extends AbstractSource<ConfigItem<?>> implements ConfigSource {

  @Override
  @SuppressWarnings("unchecked")
  public <R> R getConfig(final Class<R> clazz, final UniqueId uniqueId) {
    final ConfigItem<?> item = getMaster().get(uniqueId).getConfig();
    if (clazz.isAssignableFrom(item.getType())) {
      return (R) item.getValue();
    } else {
      return null;
    }
  }

  public  MasterConfigSource(final ConfigMaster configMaster);

}