- added close method to listener
- removed ids from method invokers