Add bool_constant and its interfaces.