Code for open data structures