MNT: Modified behavior of autowrapped function

- will now correctly deal with situations where there are multiple return
  values and when there is only a single return value