(1) remove the unnecessary methods;
(2) add hooks to custom exception handler;
(3) setup the structure for a simple custom exception handler;