Adding back support for relative links
Adding copyright headers and class javadocs where missing