Upgrade dependencies to 4.1. Create 4.1 branch.