Rewrote PB.Class