Restored original order of params to binary_hook. This now expects that t_self has resources attribx