Change resource to using data scheme.