Don't assume layers field exists
Merge remote-tracking branch 'origin/layers' into refactor
Script to fix incomplete notes