Add Distmap and Texture class.