Removed trailing comma on $allowed_actions