Remove redundant modules