Remove useless typealiases
Remove duplicate type declarations