Add special parser for setReplaceMethod.
> Closes #266