(feat) Derive some traits for Types
(fix) Remove use of deprecated things