class SeriesRegistry implements Serializable {

    public boolean add(SeriesType series, FormatterType formatter) {
        if(series == null || formatter == null) {
            throw new IllegalArgumentException("Neither series nor formatter param may be null.");
        }
        return registry.add(newSeriesBundle(series, formatter));
    }

}