Custom LINQ extensions that might be useful for some.