Add modifier 'l' to Sample
Use canonical type for conversion, no need for string comparison