Fix for hook changes

Hook calls return multiple values instead of a table.