Fix sets not resolving its generic type