Implement flatMap with sequence(). Resolves #88.