Revert "Enable support for the four custom instructions"

This reverts commit 2fa1726f0ebbe5911cd12c27c42881f17ec43114.

Refactoring support for custom instructions.