Add javadocs for some subsystems