minor clean up
Fix resource inferring documentation