Added a class to a field