Hack for working around unknown materials. Need to address the FIXME