Add ability to register callbacks on HW simulator