Add shorthand methods of source rewrite to Syntax class