Added mouse support.