Restored Java-API