Changed the way actions are received.