Common Java functionality for core functionality