visitor can register [finish #79854006 #79854478]

Fix indentation of file, remove unneeded whitespace. It's very hard to read!