Add interface for resource.