Replacing deselectAll to main object.