Added a resource collection to the states as a member variable