The bulk of the early code
Merge remote-tracking branch 'upstream/master'