Added support for data resources.