Removed multiple dependencies and changed top-level API.
2.0.0