Implemented some more conversion functions