Bugfixes, allow for new module registration to pass data