Document before notify
truncate strings only if payload is too long [Fixes #26]