Initial backend handling for custom instructions
WIP