$forbiddenFunctions visibility fix

Fixing $forbiddenFunctions visibility to correct fatal errors when using sniffs