Removing not required dependencies.