Properly generate links to instance methods

Previously, we only chopped off the leading `.` character. Now we need
to chop off the leading `::`.