Added extended type to type variables

https://github.com/kfgodel/diamond/issues/141