add class type marker to spec