Fix declaration of exposed modules.