Remove unneeded module declarations