Various utility code for Java projects