am_string_set_allocate() and am_string_set_destroy() are used to allocate and free space for this type.