Minor fix - removing deprecated function.