Ported to latest CmsModule.