Removing unnecessary libraries dependencies.