An array returned from createFactory's beforeFn will be used as the arguments for the initialize method.