Using StringBuilder for performance.