Removed hard-coded 'component' value

This now picks up the correct 'component' value from the componenttype
collection.