Maugham regularly portrayed Kelly in his works, as Lionel Hillier in Cakes and Ale, as Frederick Lawson in Of Human Bondage and as O'Malley in His Excellency presenting him as "the young Irish painter called O'Malley", and dedicating Ashenden to him.