Add api definitions and so on