Added documentation for resize