template: Move type functions near constructors
Type functions and constructors share a lot of similarities; plus, we have a bunch of type functions that act as constructors.
Fixes: #99 (closed)
Type functions and constructors share a lot of similarities; plus, we have a bunch of type functions that act as constructors.
Fixes: #99 (closed)