Xuanbai base classes