Don't use deprecated APIs
Prepare 0.41.0 release