Adding template utility to generate a Java class.