Modified generics type of materials
Comments
Added final keyword