Simple URI hash handling