Rename get_component -> __getitem__ .