Add api and order classes.