Use real Java objects