ThreeTiersExt compiles. Also fixed minor error in PEH