Use BaseModule instead of DeclarativeModule