Implemented conversions and testclass.