Added @private annotation to isMouseEvent().