Migrated to Scala 2.10 TypeTags and ClassTags