Add type constructors as functions