Changed define_method to class_eval
Reduced complexity of Document#save and ProtocolBuffers::Client#receive_response.
Stubbed associations.