factories are found on their own
stub => double
switch SafeYAML into safe mode