issue #4693: deprecated some functions