Inherit from TNamed instead.