Change method sytax to . instead of ::
Very small style changes.