Replaced occurrences of do in method names.

Experiencing problems with having do in the method name when using Swift.