Add CSS classes to fields and more