How to add additional modules to the Modeler?

import BpmnModeler from 'bpmn-js/lib/Modeler';
import NyanModule from 'bpmn-js-nyan/lib/nyan';

const customModeler = new BpmnModeler({
  additionalModules: [
    NyanModule
  ]
});