Avoids loading a class if not needed, but doesn't seem to solve any actual problems. I'll leave it in in case it helps later. Testing gh-648