Minor code cleanup.
Merge branch 'master' of https://github.com/foam-framework/foam