Some experimental Java stuff.