Template deduction is a mess...