remove deprecated methods
generics
relax triggers API
add method to TriggersVisitor interface
Merge pull request #83 from shabanovd/develop

Cleanup and relax triggers API. Merging now, because there were no more comments.