as far as I know this is not depracated, at least I do not have buildmarkers warning about it when I use it.