Fixes deprecated method call