Revert "Supported all functions of type D and E codes."

This reverts commit 614b8fa8971422b1edd37839d4eec98dd6424443.