Minor typo in methods.markdown

Forward porting from 3.6.x branch.