Fix minor errors.
Remove surrounding whitespace from attributes.

Fixes bug with strict names not matching with preceding space.