Improvements to core mesh functionality.