Diverse additions (materials, compatibility with gcc 4.7)