Revert "Enable support for the four custom instructions"

This reverts commit fd18dc43f64d1938144f6c883ba4a2ca247611c6.

Refactoring support for custom instructions.