Add some doc here. What are the types of actions that could be passed in?