Adding component callback when added to an entity.