[Extension] Support more than 32 classes now.
Merge branch 'release/v0.98'