Support for type parameters (issue #19)