removed type field from Component. Changed type field for signature in Interface