Returned type autodetection.