fix callback encoding; callback Uri -> string;
update documentation;