Change :: to . for method calls.

I did this because it is clearer in terms of identifying them as method calls
and not classes.