- use api for looking up our config name
- when a block is given, return the block's return value
- fix Event#remove