Added python action to slice component.