Add template Javadocs. Needs actual documentation yet.