Added initial support for Class => Typescript with generics