Make returns a list of actions rather than just print them.