Corrected definitions so methods can be accessed using apply from