Add support for instanced rendering.