Added an isShowing property.