Allow numeric arguments for resize()