core: fix method definition
core: use correct argument wrap method
core: reformat TryCatchBlock class