Minor changes.

Minor changes.
Minor changes.
Refactoring.for work with resources.

Refactoring.for work with resources in DiaryRuClient class.