Resolve object type before trying to implicit-cast. Makes implicit object cast from alias work.