Add comment describing params passed to factory