Removed dependency on inspect library, allow return of multiple types