Removing not-needed dependencies