Fix regression.
Merge branch 'master' of github.com:substance/document