Move action that adds block/unblock action to within class out of global.
Move plugin action link callbacks to within class out of global scope.