Moved addSeries to internal functions and removed it from jsdocs.