Fix Bug #28995: “public interface for getting state of a module” from