Warnings instead of errors in getNumDOF and setNumDOF for now.