Added RegisterUIDWriter and HashString hooks