Add version class attribute