Add support for evaluate kwarg in relational classes

see #7777