More steps to factor out ColorModule and TextureModule