Monitors and controls entry into and out of the cell.