Adding java doc and improved logging for #364