Fix overriding the component name. Fixes #1.