Fixed bug in handle-exceptions-with and removed some reflection