Updated hug and check_privilege modules.