Fixing Resharper annotations