Remove deprecated function.