ESDEV-1071 Write environment which could work with module fictions