Remove unnecesary error wrapping.
Fix unbalanced bracket.
Remove unnecesary debug info from handlers.