Added support for data.frame