Add clear_targets() method to Targets