Added new API method dump.
Fixed wrong default message.
Cosmetic changes.