Remove deprecated method call