Fix deprecation
v3.0.2