$set = Set->new({ set_id => $notice->id, name => 'imagelist', # combined with set_id to provide an ID for caching selectors => { type => 'image' }, });