Add java and scala docs