Better default convert function