Improved Java actor API