Allow chaining methods to be generated for modularized npm builds.