Updated docstring on component.py