Make proper uncompressed & compressed version of history module.