Fixed #394 (using type instance in base type)