Wilde managed both to engage with and to mock the genre , while providing social commentary and offering reform . The men follow traditional matrimonial rites , whereby suitors admit their weaknesses to their prospective brides , but the foibles they excuse are ridiculous , and the farce is built on an absurd confusion of a book and a baby . When Jack apologise to Gwendolen during his marriage proposal it is for not being wicked :