Use factory directly

small correction, mentioned on code review.