Pass name to components rather than adding it as a property.