Which preposition to use with contrivings

of Occurrences 6%

This brother (his name was Don John) was a melancholy, discontented man, whose spirits seemed to labour in the contriving of villanies.

Which preposition to use with  contrivings