We can drop this check — unset() will suceed regardless whether $events[$type] is set. This will save us one lookup :-)