- Added ability to specify multiple return types
- Fixed problem of any NAs resulting in bad output (caused by sapply's simplification)