[kdbus][wip] Add functions' doc. Rework code.