I have just renamed ```method``` to ```algorithm```.