parseHash sync refactor and Adding inCallback method.