Add triangle class.