Setting uid.