Lib: add class information.