resharper suggested code cleanups