Smart completion: auto-casted types work with qualifier too