Make constructor of NamePrependingStatementRewriter public

Fixes #673