How to avoid initializing entrypoint of inherited module
===

I have an GWT module, which defines an entry point that builds an UI (let's call this module A).

I inherit module A in another module (say module B), which builds its own UI via its own entry point, reusing classes defined in inherited module A. 

My problem is, when I initialize module B, entry points from both Module A and B are instantiated and triggered (via onModuleLoad method). This results in both entry points modifying same UI in turn, resulting in corrupt page.

So, I want to inherit a module, but I don't want its entry points activated during application initialization. How can I inherit a module, but avoid initialization of its entry point class? 