Initial implementation.
First tests.