Document reloading now works fine.