Add legacy ui and grid modules.