remove deprecated function (bones#683)