Changed allowed_actions to private static