Add api data structures