Added an element_size parameter to set_t and set_init().