Added ability to add tags to a resource.