Remove deprecated function call.