Make config optional in the util factory