Made the RE module better.