and `setFactory()` (to be consistent?)