Initial support for generic types in stub compiler.  Still need to plug it into all of the compilation methods.