Automatic slot return type deduction.