Fixed how the indentify of callback is derived.

Fixed also some documentation.