Added resizing.