support class whose version number is 51.0 (#1)