Account helper improvement.

- javadocs
- modify api