Re #1126 Hiding reusability behind the debug flag.
Merge branch 'master' of github.com:europeana/portal