issue #2404:Add many functions to Deprecated.lua