Fixed incorrect 'this' in handlePayload call.