Added some missing detach()s to List<T>, ByteVector and String.