Removed wrong comments. Added hash resolver function.