add flatten and flatMap, alias chain. #98