Fixing error in method names
syncing with npm