Make the IsEndOfData setter private