patching module ready for editor integration