Added some design doc stuff, perhaps fixed a bug in donation.