[BUGFIX beta] Rename registerASTPlugin to registerPlugin.