Also look into TReader and TWriter. These help out a bit. In the end, outside of published properties in $m there is no automated way of doing this. Simply put, the info isn't there at run time.