Working out the convert methods.