Call save_component method above (with identical code).