expose setDelegate