Simplify HaarWavelet class.