Revert "Enable support for the four custom instructions"

This reverts commit 2397975ca52528ed0d8e4e35d58c3eca5b9e4112.

Refactoring support for custom instructions.