re-added deprecated functions
otherwise we break cran packages