Friendly smart constructors for foreign integer types