Adding type properties to each class