Added legacy layer to ModuleStateEvent.