Add a self argument to the instance method.

Thanks @mewtaylor.