Fix: Added many-to-many associations to references array.