<Minor> Removed boilerplate code in Texture