Avoid intermixing reads and writes to the layout.
Merge remote-tracking branch 'origin/master'