Add constructor for PedClass