add support for data type parameters being used in constructors, closes #83