Added optional validate argument to workaround issue with out-of-date Python libraries in Maya 2013.