Merge "Add docs for setTargetSize and setTargetSampleSize" into pi-dev