[#1386] Small refactoring in a factories' helper