This should probably use the more standard `object` syntax, with `extra_attrs /./` (assuming the user can provide any keys in this object?) inside the block.