Fixed KBError subclassing