Solve issue #171. TODO try to enable cpd in pmd as fas as possible.