renamed the 'types' option to 'aggregates'

the ReferenceCollection attribute now follows the same naming concept as
the AggregateCollection.