We should really clarify the documentation for things like OutputPage's addScript, addExtensionStyle, addInlineScript and addScriptFile functions are highly unpreferred (if not deprecated) in favor of RL modules.
Also should make note how this is entire class is mostly for 'chrome', and that content should use there ParserOutput object for all changes.
Then again, the class docu does start with: "This class should be covered by a general architecture document which does not exist as of January 2011. " :)