Added support for data frame headers in returned values