Fixed Stack to accept hex-strings.