Fixed adding modules.