Remove deprecated method.