Removed pointers in arrays of components, instead using reference_wrappers