Change addElement() to add(), getElement() to get(), getElements() to getAll()