convert() probably simpler and more uniform name for these type conversion methods.