Add resource to entities