Working on texture class.