Added groovy and java docs.