Patch for prescott and core recognition (thanks Leif Lionhardy).