According to the above URL, that code example is not compilable as-is,
because TMyTestObject is not defined anywhere. Shouldn't the code
examples in the documentation be compilable as-is? ie: allow the
developer to copy and paste the code in a empty file, then compile and
run to try it out?