Backport initial exploratory prototype.