Function 'random' should not be considered safe.
Rename arguments() to attributes()
Only check that a Node is a variable when it is not a class node.