Replaced polymorhic association with hasMany.