Added addHasMany