Refactor hash URL component