reverted unnecessary self
Some minor cleanup for texture import.