Fix documentation and resolve StyleCop issues