Updated ResourceSpec to reflect addItem changes