Sketch of implementation.
Skeleton of tests.