modified examples to use annotation api
annotations on simulation
explicit annotation on algorithm
sedbase: prevent crash when document not set