Added hooks for adding components to entities