Added basic element insertion.