do not use obsolete class for assertions