Updated Resharper configuration and performed initial code cleanups.