Remove elementExists
Better toString implementation
Add missing license header.