Fixed a problem with the decode and validate method from being blocked by a private scope.