Move type aliases to package object

Signed-off-by: Gary Pamparà <gpampara@gmail.com>