refactor Types definitions according to Type::Tiny::Manual::Libraries