documentation: AbstractLeaf and AbstractBranch classes
documentation: reformatted comments in layout sub-library