Removes module structure