Implements hasMany relations