Add some smarts to the quote thing.