Added addLibraryObject to mixin methods

So you can call it from an object as well as the executive, a link
through method. Also more work on documents