FIX: Implement changes required by Plot.ly 3.0.0