Extend prelude and fix THPreprocess