This can also be done with an extension method.