Fixing typos.
Debug/info logging.
Allow lookup_identity_hook to be called from other modules.
Update .spec for version 0.7.