Added ability to create area and point elements.