replaced ClassManifest to ClassTag