Return factory if no arguments are given.