Moved the disallowed array outside main scope.