Gave invocation records custom identity. Also, various tweaks.