Remove deprecated method call.