Fixed documentation for getInferredTypes. Fixes issue #2