Pin all dependencies and removed unused ones