Implement a comparrable material to allow batching.