Adding handling for a role to be preserved as a class on variable list entries