Fix a few issues.

Fixes #5011 and #5002 .
Good point. `_variableName`?