Tweaks to mesh class.