Change availableMethods to methods