JavaDoccing and small refactorings for the Graph API