Renamed "notify" to "handleMessage" and removed the redundant length
parameter.