Add properties to Java config