Add "name" attributes to metadata.

This fixes #150.