Basic Java stuff for all.