Proposal for restructuring the current DalekJS API