[add] Added chain class.