Use template deduction and inlines to allow automatic conversion base on type rather than system defines.