Fix references to a method that no longer exists in Java or Python interfaces