*API CHANGE* Added variable node arity depenunt upon node function type.