Added safety in object, to prevent the user from adding 2 components of the same type to the same object.