Add .shape property to the type