Extract class DepName, update spec