Wrote default element handler.