Adding example about how to provide custom identity types.