Replace :method: with :meth: