private fields in User, Diffie-Hellman improvements, Additional encoders/decoders + onAddedToManagedSet handler in ActiveRecords