Resharper optimizations