my $foo = attach_default($ref, $something, 'elements');