Initial commit.

TODO:
More tests.