Fix permitted classes in the sandbox.
- Add entries from the registry to the list of permitted classes in the sandbox