Added search for resources.