When resolving declared type, it can look up in super classes