Home-made rectangle from class.