Conversion to implicit classes