Added a resource structure.