Improved type safeness of set8/16/32/64