Remove indirect dependencies