Fixes variable declarations being rewritten.