A GENERALIZATION OF THE ATIYAH-SEGAL COMPLETION THEOREM