Map api2 to api on import