Added get_actions() function