Fix reference to method so it doesn't use the invalid 'ly' form.