Fix name method.
refactor to_h method.
Rename looger method.