Implemented teleport and portal event listeners.