Added support for dataMethod option