Register tap handler