Reflect changes in the API.
Fix error when using Take operator.
Update .gitignore.