Allow lib param to control Lib root classes.