Fixed "declaration should be compatible" error
Fix ToMany associations with custom types