Support for manyToNone and manyToMany relationships