Add initializing functionality to ProcessingWidget(incomplete)