Added kernel element selection.