This whole function definition is removed in #2422