Add resource aggregate class.