Added a few new extension methods to TypeExtensions.