Add support for completion in PS V2 (required for .NET 3.5)
Move to separate file.