Add new data to learner model.

Fixes #338