slap: attribute: add ctors with single value
slap: replace string ctors with templates
slap: fix typo