rm errorCallback, add normalizeMethod

Moved common parts to the special method: normalize Method;
Easier to read sources now.