Documented leaf classes. Modified doc template