Code clean up: R#, StyleCop & Code Analysis.