Adding new method signatures for onJoin

and also fixing a small syntaxical error in the JSON