Rectangle and vector classes.