onClassCommit