Fix for error with TypeScript 0.9.5

"Generic type references must include all type arguments".