Adds javadoc comments to the private methods.

Signed-off-by: Mario Krizmanic <mario.krizmanic@gmail.com>