Smart Variable per puppet class

Hello Guys,

In Foreman it seems that smart variables are bound to individual
puppet classes, yet you can't have a smart variable of the same name
in different classes. Is this the expected functionality? If a smart
variable has to exist within the context of a puppet class then we
should be able to have smart variables of the same name in different
classes.