Added deselect method.