renamed asReference boolean in DetachedXXX to withProperties and had to flip all the explicit booleans throughtout.