EntityRef has correct addComponent function