Cleaned up the region class