Begin implementing Learner.
Complete Learner implementation.
Merge branch `rewrite` into `master`.