Delete expensive quoting

Remove the not used "expensive quoting" function. This should also get rid of the warning mentioned in #874 .