The novel draws on a variety of inspirations. Written "in imitation of the manner of Cervantes, the author of Don Quixote" (see title page on right), the work owes much of its humour to the techniques developed by Cervantes, and its subject-matter to the seemingly loose arrangement of events, digressions and lower-class characters to the genre of writing known as picaresque. In deference to the literary tastes and recurring tropes of the period, it relies on bawdy humour, an impending marriage and a mystery surrounding unknown parentage, but conversely is rich in philosophical digressions, classical erudition and social purpose.