Made the component list dynamic.