Added $allowed_actions statics

Now required in 3.1 otherwise it doesn't let you create or change widgets.