Fix incorrect 'name' attribute.
Replace specs with one-liner syntax.