Fixed a bug in listing subaccounts.

Fixed also some method comments.