* Fix type check error in case of alias.