Got rid of errors in projects which appear with Java 5 compiler