examples: remove direct uses of Fragment
genlib: remove direct uses of Fragment