Compile fixes to reset.