Another step towards deprecating DataHandle: remove all methods to retrieve the referenced object as non-const.