added docs for take(), drop(), flatten() and flatMap()