Does extractSeries really need access to the full dygraphs object? Would access to just the options be sufficient? It's good to keep public APIs as narrow as possible initially—they only get wider over time.