Comment and renamed method
Fix #770 "Crash with XBL containing a bind with id"

- add indexedElements
- make some methods final