Replace deprecated use of Manifest with TypeTag reflection.