Remove unused code from datamatrix.