Added TextureFormatSerializerProvider. Refactored some methods too.