Various additions for ePub exporting.