Revert "Update class.h"

This reverts commit c4ab628adf8a20d5656342f156d880fd065e7a2c.