Upgrade deprecated methods
Merge remote-tracking branch 'origin/master'