Committing v1.4 of Java helper class.