Object#extend is a public method
Merge pull request #3424 from amatsuda/extend

Object#extend is a public method