Add PEP 249 type constructors.

Fix #250.