Made module compatible with `component.js`