BAMPFA-79: Add javadoc comments.