Changed doc to use baseMethods JS.