Modify Class.php content.

This reverts commit 3ef9a6b4767afeab24015244f0d857ecafc582b0.