Adding support for Worksheet.on function