Added resize function documentation