Clean up component definition, remove useless COMP_UNKNOWN and wrong comments.