Adding support for textures.
Adding missing type.