Refactor to eliminate Resharper nagging.