Fix aggregate creation and provide spec