Bug fixes.
bar.Bar was optimized to use less memory. Thanks Tibor Kiss for suggesting this.