Document the identity interface. Minor cleanup.
Silly shared_from_this() strikes again.