Strip methods with placeholder values from code.