Added usage of resource.