Added the ability to change the region type