Added routines for basic mesh parsing.