Allow setting associations in DoctrineWriter.