It's only called by DataHandler subclasses (it's never referenced in dygraph-layout.js, where is used to be defined). So this seemed like a more natural place for it. I marked it protected.