BUGFIX: 3.0 compatibility with allowed_actions