Remove redundant dependencies