Remove unused parameter from ModelBuilder::process()
Extract common code from ModelBuilder::process()