Replaced polymorhic association with hasMany.
Reverted compression for the built code (OMS-48)