Add constructors for internal data structures.