Add S_Actorbase and xml comments to all functions