Handling the case of signed data as well.  #140.