Add support for a custom instruction handler