Change ComponentDefinition to be an object rather than an asset